<?php declare(strict_types=1);


namespace App\Rpc\Lib;

/**
 * Class NotifyInterface
 *
 * @since 2.0
 */
interface NotifyInterface
{
    /**
     * 发布消息
     * @param $data
     * @return array
     */
    public function publish($data):array ;
}